Questions:
- I couldn't find any way to do this with a cabwiz create .cab file. Am
I wrong?
- Consequently, I would have to use a 3rd party tool to create my
install, correct?
- The current deployment model is for Internet connected users to simply
click on links to .cab files which automatically download and run. If I
create an install via a 3rd party, I would no longer be able to use this
simple deployment model, correct?
Best regards,
Ilya
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
> Date: Tue, 08 Mar 2005 14:53:35 -0700
> From: Brad Wood <bradley_.wood_@ndsu_.edu>
> User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103)
> X-Accept-Language: en-us, en
> MIME-Version: 1.0
> Subject: How to install file to storage card
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> Content-Transfer-Encoding: 7bit
> Message-ID: <emO3nlCJ...@TK2MSFTNGP12.phx.gbl>
> Newsgroups: microsoft.public.dotnet.framework.compactframework
> NNTP-Posting-Host: 66.28.162.30
> Lines: 1
> Path:
TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP1
2.phx.gbl
> Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.compactframework:72780
> X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
""Ilya Tumanov [MS]"" <ily...@online.microsoft.com> wrote in message
news:opLIGQDJ...@TK2MSFTNGXA02.phx.gbl...
That's not at all what I need to accomplish. I want the application
installed on volatile memory except for my database; I need that on
non-volatile.
> It's not a good idea to hardcode the storage card name.
I know; that's why I posted this question. I could in fact easily
install my database to a memory card by hard coding the install path in
my cab file setup's .inf, but what I need to do is dynamically find the
path to a storag card (if one exists) and install my database there.
Yes I know; I'm asking how this can be done...
[Version]
Signature = "$Windows NT$"
Provider = "Some"
CESignature = "$Windows CE$"
[CEStrings]
AppName = "TEST"
InstallDir = %CE1%\%AppName%
[CEDevice]
UnsupportedPlatforms = "HPC","Jupiter"
BuildMax = 0xE0000000
[DefaultInstall]
CopyFiles = Files.Application,Files.DataBase
[DestinationDirs]
Files.Application = 0,%CE1%\%AppName%
Files.DataBase = 0,%InstallDir%
[Files.Application]
"app.txt",app.txt,,0x20000001
[Files.DataBase]
"db.txt",db.txt,,0x20000001
[SourceDisksNames]
1 = ,"Path",,
[SourceDisksFiles]
app.txt = 1
db.txt = 1
That would install db.txt to the storage at your choice (make sure
appropriate command line is used for WCELOAD).
And it would install app.txt to \Program Files\Test.
Alternative solution would be to copy the db file from setup DLL, but that
only would work if it's small enough.
Or, if you're using Active Sync for deployment, you could push DB file to
the storage card separately from the CAB using RAPI.
Best regards,
Ilya
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
> Date: Tue, 08 Mar 2005 18:15:25 -0700
> From: Brad Wood <bradley_.wood_@ndsu_.edu>
> User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103)
> X-Accept-Language: en-us, en
> MIME-Version: 1.0
> Subject: Re: How to install file to storage card
> References: <emO3nlCJ...@TK2MSFTNGP12.phx.gbl>
<opLIGQDJ...@TK2MSFTNGXA02.phx.gbl>
> In-Reply-To: <opLIGQDJ...@TK2MSFTNGXA02.phx.gbl>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> Content-Transfer-Encoding: 7bit
> Message-ID: <ulzV6VEJ...@TK2MSFTNGP15.phx.gbl>
> Newsgroups: microsoft.public.dotnet.framework.compactframework
> NNTP-Posting-Host: 66.28.162.30
> Lines: 1
> Path:
TK2MSFTNGXA02.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!TK2MSFTNGP0
8.phx.gbl!TK2MSFTNGP15.phx.gbl
> Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.compactframework:72799
> X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
So I tried to test out using wceload, and I'm at a loss. Running this
code does nothing:
using OpenNETCF.Diagnostics;
ProcessStartInfo pi = new ProcessStartInfo(@"\Windows\wceload.exe app.cab");
Process.Start( pi );
If I simply run Internet Explorer, it works. I've used Path.Exists to
verify that the paths to wceload.exe and app.cab (in root) as included
in the parameter to ProcessStartInfo are valid. app.cab is a valid cab
that executes fine on its own.
--
Chris Tacke
Co-founder
OpenNETCF.org
Has OpenNETCF helped you? Consider donating to support us!
http://www.opennetcf.org/donate
"Brad Wood" <bradley_.wood_@ndsu_.edu> wrote in message
news:uwrj$CNJFH...@TK2MSFTNGP14.phx.gbl...
Best regards,
Ilya
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
> Date: Wed, 09 Mar 2005 10:52:21 -0700
> From: Brad Wood <bradley_.wood_@ndsu_.edu>
> User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103)
> X-Accept-Language: en-us, en
> MIME-Version: 1.0
> Subject: Re: How to install file to storage card
> References: <emO3nlCJ...@TK2MSFTNGP12.phx.gbl>
<opLIGQDJ...@TK2MSFTNGXA02.phx.gbl>
<ulzV6VEJ...@TK2MSFTNGP15.phx.gbl>
<8VR5dTG...@TK2MSFTNGXA02.phx.gbl>
> In-Reply-To: <8VR5dTG...@TK2MSFTNGXA02.phx.gbl>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> Content-Transfer-Encoding: 7bit
> Message-ID: <uwrj$CNJFH...@TK2MSFTNGP14.phx.gbl>
> Newsgroups: microsoft.public.dotnet.framework.compactframework
> NNTP-Posting-Host: 66.28.162.30
> Lines: 1
> Path:
TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP1
4.phx.gbl
> Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.compactframework:72859
> X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
I don't understand; that's exactly what I'm doing. The paramater to
ProcessStartInfo is a command line (@"\Windows\wceload.exe app.cab").
It gives the path to wceload.exe and the path to the cab as wcload's
first parameter (app.cab is in the root).
--
Chris Tacke
Co-founder
OpenNETCF.org
Has OpenNETCF helped you? Consider donating to support us!
http://www.opennetcf.org/donate
"Brad Wood" <bradley_.wood_@ndsu_.edu> wrote in message
news:uD7txjOJ...@TK2MSFTNGP09.phx.gbl...
I installed "pocket console" and "cmd" from symbolictools. I'm not sure
that those tools are designed for Windows Mobile 2003 SE (screens
jumbled, console doesn't echo text, etc..), but it worked.
The app.txt file went to it's program files directory and the db.txt
file went where I directed it after prompting from wceload.
Is this because the destination for db.txt in the .inf file in your
example is "InstallDir" which does not yet exist that wceload knows to
prompt for the location to install that file while it doesn't prompt for
the location of the app.txt?
Best regards,
Ilya
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
> Date: Wed, 09 Mar 2005 15:22:53 -0700
> From: Brad Wood <bradley_.wood_@ndsu_.edu>
> User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103)
> X-Accept-Language: en-us, en
> MIME-Version: 1.0
> Subject: Re: How to install file to storage card
> References: <emO3nlCJ...@TK2MSFTNGP12.phx.gbl>
<opLIGQDJ...@TK2MSFTNGXA02.phx.gbl>
<ulzV6VEJ...@TK2MSFTNGP15.phx.gbl>
<8VR5dTG...@TK2MSFTNGXA02.phx.gbl>
<uwrj$CNJFH...@TK2MSFTNGP14.phx.gbl>
<F8ddJ3N...@TK2MSFTNGXA02.phx.gbl>
> In-Reply-To: <F8ddJ3N...@TK2MSFTNGXA02.phx.gbl>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> Content-Transfer-Encoding: 7bit
> Message-ID: <u#nMKaPJF...@TK2MSFTNGP10.phx.gbl>
> Newsgroups: microsoft.public.dotnet.framework.compactframework
> NNTP-Posting-Host: 66.28.162.30
> Lines: 1
> Path:
TK2MSFTNGXA02.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!TK2MSFTNGP0
8.phx.gbl!TK2MSFTNGP10.phx.gbl
> Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.compactframework:72891
> X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework